<template>
  <el-container>
    <el-header>Header</el-header>
    <el-container>
      <el-aside width="200px">Aside</el-aside>
      <el-main>
        <el-row>
          <ButtonList></ButtonList>
          <el-button @click="show = true">xx</el-button>
          <el-dialog v-model="show">
            <button slot="foot" @click="show = false">close</button>
          </el-dialog>
        </el-row>
      </el-main>
    </el-container>
  </el-container>

</template>
<script setup>
import ButtonList from "./Button";
import {ref} from "vue";
let show = ref(false)
</script>